/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.hcht.xrlh.jcxx.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.thinkgem.jeesite.modules.sys.entity.Office;
import java.util.List;
import com.google.common.collect.Lists;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 检查任务Entity
 * @author lrz
 * @version 2016-12-05
 */
public class DrJcxx extends DataEntity<DrJcxx> {
	
	private static final long serialVersionUID = 1L;
	private String fdsx;		// 法定事项
	private String jhmc;		// 计划名称
	private Date jhrqs;		// 计划日期起
	private Date jhrqz;		// 计划日起止
	private Office office;		// 计划制定单位
	private Integer jhxzsl;		// 执法小组数量
	private Integer xzrs;		// 每组人数
	private Integer dxsl;		// 执法对象数目
	private Integer dxfz;		// 抽取对象分组数量
	private String dxlb;		// 执法对象类别
	private String wtsl;		// 问题数量
	private String wtqysl;		// 问题企业数量
	private String wtms;		// 问题总结
	private String flag;		// 标志
	private List<DrJcxz> drJcxzList = Lists.newArrayList();		// 子表列表
	private List<DrJczfjl> drJczfjlList = Lists.newArrayList();		// 子表列表
	
	public DrJcxx() {
		super();
	}

	public DrJcxx(String id){
		super(id);
	}

	@Length(min=0, max=10, message="法定事项长度必须介于 0 和 10 之间")
	public String getFdsx() {
		return fdsx;
	}

	public void setFdsx(String fdsx) {
		this.fdsx = fdsx;
	}
	
	@Length(min=0, max=255, message="计划名称长度必须介于 0 和 255 之间")
	public String getJhmc() {
		return jhmc;
	}

	public void setJhmc(String jhmc) {
		this.jhmc = jhmc;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getJhrqs() {
		return jhrqs;
	}

	public void setJhrqs(Date jhrqs) {
		this.jhrqs = jhrqs;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getJhrqz() {
		return jhrqz;
	}

	public void setJhrqz(Date jhrqz) {
		this.jhrqz = jhrqz;
	}
	
	public Office getOffice() {
		return office;
	}

	public void setOffice(Office office) {
		this.office = office;
	}
	
	public Integer getJhxzsl() {
		return jhxzsl;
	}

	public void setJhxzsl(Integer jhxzsl) {
		this.jhxzsl = jhxzsl;
	}
	
	public Integer getXzrs() {
		return xzrs;
	}

	public void setXzrs(Integer xzrs) {
		this.xzrs = xzrs;
	}
	
	public Integer getDxsl() {
		return dxsl;
	}

	public void setDxsl(Integer dxsl) {
		this.dxsl = dxsl;
	}
	
	public Integer getDxfz() {
		return dxfz;
	}

	public void setDxfz(Integer dxfz) {
		this.dxfz = dxfz;
	}
	
	@Length(min=0, max=10, message="执法对象类别长度必须介于 0 和 10 之间")
	public String getDxlb() {
		return dxlb;
	}

	public void setDxlb(String dxlb) {
		this.dxlb = dxlb;
	}
	
	@Length(min=0, max=10, message="问题数量长度必须介于 0 和 10 之间")
	public String getWtsl() {
		return wtsl;
	}

	public void setWtsl(String wtsl) {
		this.wtsl = wtsl;
	}
	
	@Length(min=0, max=10, message="问题企业数量长度必须介于 0 和 10 之间")
	public String getWtqysl() {
		return wtqysl;
	}

	public void setWtqysl(String wtqysl) {
		this.wtqysl = wtqysl;
	}
	
	@Length(min=0, max=2000, message="问题总结长度必须介于 0 和 2000 之间")
	public String getWtms() {
		return wtms;
	}

	public void setWtms(String wtms) {
		this.wtms = wtms;
	}
	
	@Length(min=0, max=10, message="标志长度必须介于 0 和 10 之间")
	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}
	
	public List<DrJcxz> getDrJcxzList() {
		return drJcxzList;
	}

	public void setDrJcxzList(List<DrJcxz> drJcxzList) {
		this.drJcxzList = drJcxzList;
	}
	public List<DrJczfjl> getDrJczfjlList() {
		return drJczfjlList;
	}

	public void setDrJczfjlList(List<DrJczfjl> drJczfjlList) {
		this.drJczfjlList = drJczfjlList;
	}
}